﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MMITDomain.Entities
{
    public class Rule
    {
        public int Id
        {
            get;
            set;
        }

        public decimal? TransactionAmount
        {
            get;
            set;
        }

        public virtual Account Account
        {
            get;
            set;
        }

        public int? AccountId
        {
            get;
            set;
        }

        public virtual TransactionRole TransactionRole
        {
            get;
            set;
        }

        public int? TransactionRoleId
        {
            get;
            set;
        }

        public virtual TransactionType TransactionType
        {
            get;
            set;
        }

        public int TransactionTypeId
        {
            get;
            set;
        }

        public int? NumberOfTransactions
        {
            get;
            set;
        }

        public int? WindowPeriodInHours
        {
            get;
            set;
        }

        public decimal? MaxBalance
        {
            get;
            set;
        }

        public decimal? MinBalance
        {
            get;
            set;
        }
    }
}
